﻿
package extremefx.remoting {
	import extremefx.remoting.RestRequest;		

	/**
	 * @author Marcelo Volmaro
	 */
	public class XmlRestRequest extends RestRequest {
		public function XmlRestRequest(pEndPoint:String, pSingle:String, pList:String = null) {
			super(pEndPoint, pSingle, pList);
		}
		
		public function update(pId:String, pData:XML):void {
			_update(pId, pData);
		}
		
		public function insert(pData:XML):void {
			_insert(pData);
		}
		
		//TODO
		override protected function _process(pData:*):* {
			return pData as XML; 
		}
	}
}
